imwayland: Fix a small leak
authorMichael Catanzaro <mcatanzaro@igalia.com>
Sun, 24 Jun 2018 20:49:46 +0000 (15:49 -0500)
committerMichael Catanzaro <mcatanzaro@igalia.com>
Sun, 24 Jun 2018 20:49:46 +0000 (15:49 -0500)
commitefb934c07fb6e6e09ebc6ec21724a3c70ca44ce3
treeaf1f3e27e23c382e9ce8fb0f832b8e7b0e026a13
parent69adcc46c9978437e23173dd11bcfff7ed1353ce
imwayland: Fix a small leak

If the parent get_preedit_string implementation returns a nonnull
zero-length string, then we ignore it, which is almost fine. We have to
free it, though.

Fixes #1174
modules/input/imwayland.c